package com.yzl.factory.method;

import com.yzl.factory.Pay;
import com.yzl.factory.WechatPay;

/**
 * @program: design-pattern
 * @description:
 * @author: YaoZhiLi
 * @create: 2021-08-02 21:28
 */
public class WechatFactory implements PayFactory{
    @Override
    public Pay getPay() {
        return new WechatPay();
    }
}